package com.itheima.wms.service;

import com.itheima.wms.pojo.PageFactory;
import com.itheima.wms.pojo.Warehouse;
import com.itheima.wms.utils.PageBean;

import java.util.List;

public interface FactoryService {
    void addFactory(Warehouse warehouse);

    PageBean<Warehouse> queryFactoryAll(PageFactory queryPage);

    Warehouse queryFactoryById(Integer id);

    void updateFactory(Warehouse warehouse);

    void deleteFactoryByIds(Integer[] ids);

    List<Warehouse> queryFactoryList(Integer status);
}
